import { Entity, PrimaryGeneratedColumn, Column } from 'typeorm'; 
  
@Entity()  
export class UserRole {  
  @PrimaryGeneratedColumn()
  id: number;
  
  @Column()
  user_id: number;  
  
  @Column()  
  role_id: number;  
}